#include <stdio.h>
#include <avr/io.h>
#include <avr/iom644.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include "usart_utils.h"

int
main(void)
{
	unsigned char aux;

	USART_Init(25);
	DDRB = 0xFF;
	PORTB = 0xFF;

	sei();

	while(1) {
		aux = USART_Receive();
		if (aux != 0) {
			PORTB = aux;
		}
		USART_Transmit(aux);
	}
}
